package com.halloon.android.ui.activity;

import java.util.ArrayList;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.actionbarsherlock.view.Window;

import com.halloon.android.ui.fragment.TabMainPageFragment.MainPageFragmentCallback;
import com.halloon.android.ui.fragment.TabMyMessageFragment;
import com.halloon.android.ui.fragment.TweetDetailFragment.TweetDetailFragmentCallback;
import com.halloon.android.util.PopupWindowManager;

public class MyMessageActivity extends BaseSinglePaneActivity implements MainPageFragmentCallback,
                                                                         TweetDetailFragmentCallback{
	
	private ArrayList<Fragment> fragmentContainer = new ArrayList<Fragment>();
	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		super.onCreate(savedInstanceState);
		homeGoToDashboard = false;
		
	}

	@Override
	protected Fragment onCreatePane() {
		fragmentContainer.add(new TabMyMessageFragment());
		return fragmentContainer.get(fragmentContainer.size() - 1);
	}

	@Override
	protected void init() {
	}

	@Override
	public void setupDetailFragment(Bundle bundle) {
	}

	@Override
	public void setupPublishFragment() {
	}

	@Override
	public void setupAroundTweetFragment() {
	}

	@Override
	public void destroyMainPageFragment() {
	}

	@Override
	public void setupPictureDialog(String addr, String preSize) {
		PopupWindowManager pwManager = new PopupWindowManager(this);
		pwManager.setupPicturePopup(addr, preSize);
	}

	@Override
	public void setupProfileFragment(Bundle bundle) {
	}

	@Override
	public void destroyDetailFragment() {
	}

	@Override
	public void mListChange(int status) {
	}

	@Override
	public void setupCommentFragment(Bundle bundle) {
		// TODO Auto-generated method stub
		
	}

}